package com.msb.crm.dao;


import org.apache.ibatis.annotations.Mapper;
import com.msb.crm.base.BaseMapper;
import com.msb.crm.vo.User;

import java.util.List;
import java.util.Map;


public interface UserMapper extends BaseMapper<User,Integer> {

   //通过用户名查询用户记录，返回用户对象
   public User queryUserByName(String userName);

   //查询所有的销售人员
   List<Map<String,Object>> queryAllSales();

}